.x-font-color button {
    position:relative;
}

.x-background-color button {
    position:relative;
}

.x-font-color button div, .x-background-color button div{
    position:absolute;
    width:16px;
    height:4px;
    top:6px;
    left:-20px;
}

.ext-webkit .x-font-color button div, .ext-webkit .x-background-color button div{
    position:absolute;
    width:16px;
    height:4px;
    top:15px;
    left:-1px;
}

.x-font-color button div {
    background:black;
}
.x-view-emtpytext {
    margin:10px;
    padding:15px;
    background:rgb(249,237,192);
    border:1px solid rgb(210,160,74);
    color:black;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.x-view-hinttext {
    margin:10px 10px 5px 10px;
    padding:10px 15px;
    background: #EEF2FB;
    border: 1px solid #ADC1CC;
    color:black;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.x-view-headtext {
    margin: 5px;
    padding: 8px;
    background: #EEF2FB;
    border: 1px solid #ADC1CC;
    color:black;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.x-logo-small {
	width:60px;
}

.icon-span {	
	padding-left:20px;
	background-repeat:no-repeat;
}
/*
 * for image chooser
 */
.imgchooser .details{
    padding: 10px;
    text-align: center;
}
.imgchooser .details img{
	max-width:150px;
	max-height:150px;
}
.imgchooser .details-info{
    border-top: 1px solid #cccccc;
    font: 11px Arial, Helvetica, sans-serif;
    margin-top: 5px;
    padding-top: 5px;
    text-align: left;
}
.imgchooser .details-info b{
    color: #555555;
    display: block;
    margin-bottom: 4px;
}
.imgchooser .details-info span{
    display: block;
    margin-bottom: 5px;
    margin-left: 5px;
}

.imgview, .dragview {
    background: white;
    font: 11px Arial, Helvetica, sans-serif;
}
.imgview .thumb, .dragview .thumb {
    background: white;
    padding: 3px;
    text-align: center;
    position:relative;
}
.imgview .thumb img, .dragview .thumb img  {
    height: 60px;
    width: 60px;
    cursor:pointer;
}
.imgview .thumb-wrap {
    float: left;
    margin: 4px;
    margin-right: 0;
    padding: 5px;
}
.dragview .thumb-wrap {
	margin: 4px;
    margin-right: 0;
    padding: 5px;
}

.imgview .thumb-wrap span, .dragview .thumb-wrap span {
    display: block;
    overflow: hidden;
    text-align: center;
}

.imgview .x-view-over {
    border:1px solid #dddddd;
    background: #efefef url(../../resources/images/default/grid/row-over.gif) repeat-x left top;
    padding: 4px;
}

.imgview .x-view-selected {
    background: #DFEDFF;
    border: 1px solid #6593cf;
    padding: 4px;
}

.imgview .x-view-selected span{
    color:#1A4D8F;
}
.imgview .loading-indicator {
    font-size:11px;
    background-image:url('../../resources/images/grid/loading.gif');
    background-repeat: no-repeat;
    background-position: left;
    padding-left:20px;
    margin:10px;
}

/*
 * for welcome tpl
 */
.mc-bg {
	padding:20px;
}

.mc-bg table{
	width:100%;
	height:100%;
}

.mc-bg button{
	width:120px;
}

.x-tip-tab {
	padding-right:36px;
	position:relative;
}

.x-redtip {
	position:absolute;
	right:0px;
	top:-2px;
}

.x-redtip-left {
	float:left;
	background:transparent url('../../images/red_tip_left.png') no-repeat left center;
	width:8px;
	height:18px;	
}

.x-redtip-center {
	float:left;
	background:transparent url('../../images/red_tip_center.png') repeat-x left center;
	height:18px;
	line-height:18px;
	color:white;
	font-size:14px;
	font-family:Arial;
	font-weight:bold;
}

.x-redtip-right {
	float:left;
	background:transparent url('../../images/red_tip_right.png') no-repeat left center;
	height:18px;
	width:8px;
}

/*
 * action column icons
 */
.hidden_action {
	display:none;	
}

.action_addlock {
	background-image:url(../../images/icons/lock_add.png) !important;
	width:16px;	
}

.action_unlock {
	background-image:url(../../images/icons/lock_delete.png) !important;
	width:16px;	
}

/*
 * locked file css
 */
.state_locked_row {
	background-color:pink;	
}

.state_locked_file {	
	background-image:url(../../images/icons/lock.png) !important;
	background-repeat:no-repeat;
	background-position:left center;
	padding-left:20px;	
}

.state_locked_text {
	padding-right:10px;
	font-weight:bold;
	color:red;	
}

.locked-file-title {
	color:red;
	padding:10px;
	font-weight:bold;	
}

/*
 * for rate
 */

.x-rate {
	position:relative;
	overflow:hidden;	
	width:80px;	
	height:20px;
	margin:-5px auto;
}

.x-rate-star {
	float:left;
	width:20px;
	height:100%;		
}

.x-full-star {
	background:transparent url(../../images/stars.png) no-repeat left bottom;
}

.x-half-star {
	background:transparent url(../../images/stars.png) no-repeat left -40px;
}

.x-empty-star {
	background:transparent url(../../images/stars.png) no-repeat left top;
}

.x-img-icon {
	backgorund-repeat:no-repeat;
	background-position:center center;
	width:16px;
	height:16px;
}

.icon-span {
	padding-left: 20px;	
	background-position: left center;
	background-repeat: no-repeat;
}

/*
 * for tree pool
 */
.x-tree-pool .x-tree-node-el {
	padding:1px;	
}

.x-tree-pool .x-tree-node .x-tree-selected {
	background:rgb(245,250,250);
	border:1px solid #99BBE8;
	padding:0px;
}

.x-tree-pool .x-tree-node .x-tree-node-over {
	background:rgb(245,250,250);
}

.ext-strict .x-small-editor .x-form-text {
	height: 14px !important;	
}

.file-update-info {
	border: 1px solid white;
	background: #FFFFC4;
	padding: 5px;	
}

.editing-user-info {
	padding-top: 2px;
	padding-left: 5px;
	font-size: 14px;
	text-align: left;
}

.editing-user-info span {
	display: block;
	font-weight: bold;
}
	
.file-update-info .refresh-ct {
	display: block;	
	margin-top: 5px;	
}
	
.editing-user-logo {
	padding-top:2px;	
}

.editing-user-number {		
	color: white;	
	padding: 0px 4px 1px 4px;
	background: red;	
	-webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.ext-ie8 .editing-user-number {	
	border: 1px solid white;
}

.x-posting-viewcomment {
	color: #15428B;
	text-decoration: none;	
}

.x-posting-viewcomment:hover {
	font-style: bold;
}

.x-posting-footer {
	padding-top: 5px;
	text-align: right;
}

.comment-number {	
	background: silver;
	padding:0 4px;
	font-weight:bold;
	color:white;
	-webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.red-number {
	background: red;
}

.editing-user-logo img {		
	max-width:60px;
	max-height:40px;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.ext-ie .editing-user-logo img {
	width: 60px;
}

.doc-msg .doc-msg-item {
	min-height: 0px;	
}

.doc-msg-item img {
	max-width: 60px;
	max-height: 40px;
	margin-right: 3px;	
	clear: left;
	float: left;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.ext-ie .doc-msg-item img {
	width: 60px;	
}

.doc-msg-item .author {
	font-weight: bold;
	padding-bottom: 5px;
	display: block;
}

.doc-msg-item .post-time {
	color: gray;
	font-style: italic;
	text-align: right;	
	padding-bottom: 5px;
	display: block;
}

.x-posting-writecomment {
	padding-top: 5px;
}

.back2topic {	
	font-weight: bold;
	margin-left: 10px;
	font-size: 14px;
	color: #15428B;
	padding-left: 18px;	
	background-repeat: no-repeat;
	background-position: left center;
	cursor: pointer;
}

.back2topic:hover {
	text-decoration: underline;	
}
.x-clear-datepicker {
	border-color: silver;	
}

.x-clear-datepicker .x-datepicker-footer {
	background: white;
	border-top: none;
}

.x-clear-datepicker .x-datepicker-header {
	background: white;
	border-bottom: 1px solid silver;
}

.x-clear-datepicker .x-datepicker-month span {
	color: black !important;	
}

.x-clear-datepicker .x-btn-split-right, .x-btn-over .x-btn-split-right {
	padding-right: 0px !important;
}